package callback;

import thread.ThreadUtils;

import java.util.ArrayList;

public class Teacher {

    public void assignHomework(CallBack callBack, String question) {
        System.out.println("学生今日存在的疑问是：" + question);
        ThreadUtils.sleep(1000);
        ArrayList<String> tasks = new ArrayList<>();
        tasks.add("把课本公式自行推导一遍");
        tasks.add("完成今日课本课后题");
        tasks.add("完成去年高考真题");
        callBack.setTasks(tasks);
    }
}
